Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 2 - 3D Viewer / 3D Viewer Reference
3D Viewer Routines / Handling Edit Commands


Q3ViewerPaste

You can use the Q3ViewerPaste function to handle the Paste editing command when applied to data previously cut or copied from a viewer object.

OSErr Q3ViewerPaste (TQ3ViewerObject theViewer);
theViewer
A viewer object.
DESCRIPTION
The Q3ViewerPaste function pastes 3D data from the Clipboard into the viewer object specified by the theViewer parameter. You should call Q3ViewerPaste when the user chooses the Paste command in your application's Edit menu (or types the appropriate keyboard equivalent) and the data on the Clipboard was placed there by a previous call to Q3ViewerCut or Q3ViewerCopy.

SEE ALSO
To determine whether the data on the Clipboard is 3D data or not, you can use the Q3ViewerGetState function (page 2-27).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996